
<form  name="form_admin" method="POST" action="<?php echo formEditAction()?>" onsubmit="return checkform(this);" >
<input type="hidden" name="id"  value="<?php echo $id?>" />
<input type="hidden" name="ParentId" value="<?php echo $tourelm['iParentId']?>" />
<table width="100%" cellpadding="0" cellspacing="0" id="tbledit">
	<tr>
      <td><span class="style1"><?php echo _NAME?></span></td>
	  <td><input type="text" name="Name" id="Name" class="normal3" value="<?php echo $tourelm['cName']?>"/>
	   </td>
    </tr>
	<tr>
      <td><b><?php echo _INTROIMAGE?></b></td>
	  <td>
            <?php echo inputFile('ImgIntro',$tourelm["cImage"])?>
		</td>
    </tr>
    <tr>
        <td><b><?php echo Status?></b></td>
      <td>
	        <select name="Status" id="Status">
	        	<?php echo liststatus( $tourelm["iStatus"])?>
	        </select>
            &nbsp;&nbsp;&nbsp;
            <strong>Order</strong>
            <?php echo getOrderInput($order)?>
      </td>
    </tr>

    <tr>
        <td valign="top" style="vertical-align:top"><b>Content</b></td>
        <td><textarea style="height:300px; width:90%;" name="Content"><?php echo $tourelm["cContent"]; ?></textarea></td>
    </tr>

</table>
</form>
<script>
function checkform(f)
{
	if(f.Name.value=="")
	{
		alert("please enter name");
		return false;
	}
}
</script>